#include <iostream>
#include <cmath>
using namespace std;

class Pesron
{
private:
  string name;
  int age;
  string sex;

public:
  void Register(string na, int ag, string se)
  {
    name = na;
    age = ag;
    sex = se;
  }

  void ShowMe()
  {
    cout << name << " " << age << " " << sex<<endl;
  }
};


int main()
{
  Pesron person1, person2;
  string name, sex;
  int age;
  cin >> name >> age >> sex;
  person1.Register(name, age, sex);
  person2.Register('Zhang3', 19, 'm');
  person1.ShowMe();
  person2.ShowMe();


  return 0;
}